package com.woniuxy.userassembly.service;

import com.woniuxy.userassembly.model.RbacPermission;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Liyfi
 * @since 2021-05-22
 */
public interface IRbacPermissionService extends IService<RbacPermission> {

    int addPermission(RbacPermission permission);

    RbacPermission selPermission(int permissionId);

    int removePermission(int permissionId);

    int updatePermissionName(RbacPermission permission);
}
